package com.mzj.saas.commons;

/**
 * Redis Key定义常量类
 */
public class Constant {
	//================================================系统参数Key=============================================//
	/**
	 * 系统参数Key
	 */
	public final static String MZJ_MG_PARAMS = "MZJ_MG_SYS_PARAMS";
	/**
	 * 登录token
	 */
	public final static String LOGIN_TOKEN = "login:token";
	/**
	 * 登录token
	 */
	public final static String LOGIN_USER = "login:user";
	/**
	 * 智能锁地址
	 */
	public final static String LOCK_URL = "lock.url";
	/**
	 * 智能锁访问令牌
	 */
	public final static String LOCK_ACCESS_KEY="lock.accesskey";
	/**
	 * 智能锁key
	 */
	public final static String LOCK_SECURITY_KEY="lock.securitykey";
	/**
	 * 智能锁临时密码key
	 */
	public final static String SMART_LOCK_PWD ="lock.smartLockPwdKey";

	/**
	 * ssas访问令牌
	 */
	public final static String SSAS_ACCESS_KEY= "ssas.accesskey";
	/**
	 * ssaskey
	 */
	public final static String SSAS_SECURITY_KEY = "ssas.securitykey";
	/**
	 * 终端IP
	 */
	public final static String SPBILL_CREATE_IP= "spbill.create.ip";
	/**
	 * 执行后回调的缓存key
	 */
	public final static String LOCK_CALLBACK="lockcallback";
	/**
	 * APP注册用户默认角色CODE
	 */
	public final static String APP_REGISTERED_ROLE_CODE = "APP-COMMON-ROLE";

	/**
	 * APP-单位承租人角色
	 */
	public final static String APP_COMMON_ROLE_DEPT = "APP-COMMON-ROLE-DEPT";

	/**
	 * APP-个人承租人角色
	 */
	public final static String APP_COMMON_ROLE_ONE = "APP-COMMON-ROLE-ONE";


	/**
	 * 微信应用appid
	 */
	public final static String WX_APPID="wx.appId";

	/**
	 * 微信小程序appid
	 */
	public final static String WX_APPLET_APPID="wx.applet.appId";

	/**
	 * 微信公寓小程序appid
	 */
	public final static String WX_APARTMENT_APPID="wx.apartment.appId";
	/**
	 * 回调错误重新执行次数
	 */
	public final static String CALLBACK_REPEAT_NUM="callBack.repeat.num";
	/**
	 * 提现缓冲期天数
	 */
	public final static String BUFFER_DAY="buffer.day";
	/**
	 * 提现缓冲期生效 1生效 0不生效
	 */
	public final static String BUFFER_STATUS="buffer.status";
	/**
	 * 确认合同后租金交付天数
	 */
	public final static String CONTRACT_RENT_DAY="confirm.contract.rent.day";
	/**
	 * 预支付订单
	 */
	public final static String APP_PAY_ORDER="apppay:order";
	/**
	 * 合同业务id
	 */
	public final static String CATEGORY_ID= "category.id";
	/**
	 * 契约锁回调key验证
	 */
	public final static String SECRET_KEY="secret.key";
	/**
	 * 润庭专用key，契约锁回调key验证
	 */
	public final static String OWNER_SECRET_KEY = "owner.secret.key";
	/**
	 * 合同到期提醒
	 */
	public final static String CONTRACT_EXPIRED_DAY="contract.expired.day";
	/**
	 * 注册用户默认密码key
	 */
	public final static String REGISTER_DEFAULT_USER_PASSWORD = "register.default.user.password";
	/**
	 * 权限列表
	 */
	public final static String ALL_PERMISSION = "ALL_PERMISSION";
	/**
	 * 契约锁-业务分类
	 */
	public final static String CATEGORY_PARAM = "CATEGORY_PARAM";
	/**
	 * 契约锁-签章
	 */
	public final static String SEAL_PARAM = "SEAL_PARAM";

	/**
	 * 亚略特token缓存key
	 */
	public final static String LOCK_YLT_TOKEN_TIME = "lock:ylt:token";

	/**
	 * 亚略特蓝牙密码
	 */
	public final static String LOCK_YLT_FBLE_PWD = "lock:ylt:fble";

	/**
	 * 催缴24小时账单缓存记录
	 */
	public final static String BILL_WORTH_HOUR = "bill:worth:hour";

	/**
	 * 实人认证身份缓存记录
	 */
	public final static String CERTIFY_ID = "certify.id";
	/**
	 * 智能锁心跳状态
	 */
	public final static String LOCK_HEARTBEAT_STATUS = "lock:heartbeat:status";

	/**
	 * 系统用户名
	 */
	public final static String SYSTEM_USER_NAME = "system:user:name";


}
